/***********************************************************************
 * Module:  Urgent.java
 * Author:  Chris
 * Purpose: Defines the Class Urgent
 ***********************************************************************/

package modele;

import java.util.*;

/** @pdOid c3c57a3a-cc93-4e7e-8fa9-c46dbe95ce23 */
public class Urgent extends Expedition {
   /** @pdOid ef09a48a-d1ad-42dc-abb4-c74e6ba0acaf */
   private float majoration;
   
   public Urgent(Client Expediteur, Personne destinataire,
			ArrayList<Colis> colis) {
		super(Expediteur, destinataire, colis);
	}

   @Override
   public float calculerPrixExpedition() {
	   // TODO Auto-generated method stub
	   float prix =  super.calculerPrixExpedition();
	   
	   prix *= (1 + (majoration / 100));
	   this.prixTotal = prix;
	   return (prix);
   }
   
}